#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2018/2/6 0006 10:09
# @Author  : Arliki
# @email   : hkdnxycz@outlook.com
# @File    : cook2dict

def run():
    cooke = input("输入字符串cookies")
    c1 = cooke.split(';')
    c2 = dict()
    for i in c1:
        k = i.strip('').split('=')
        c2[k[0]] = k[1]
    print(c2)
if __name__ == '__main__':
    run()
